// AudioAccess.h: interface for the CAudioAccess class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_AUDIOACCESS_H__DA6A6631_209F_4F9E_B90D_905618394D31__INCLUDED_)
#define AFX_AUDIOACCESS_H__DA6A6631_209F_4F9E_B90D_905618394D31__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CAudioAccess  
{
public:
	CAudioAccess();
	virtual ~CAudioAccess();

    CString GetFileName(){ return m_FileName; }
    virtual int GetFileSize(){ return 0; }
    virtual short GetChannelNum(){ return 0; }
    virtual long LoadFile(CString stFileName){ return 0; };
    virtual char* GetHeader(){ return NULL; }
    virtual short GetWaveType() { return 0; }
    virtual int GetSmpFreq() { return 0; }
    virtual int GetBitPerSnd() { return 0; }
	virtual int GetBlockAlign() { return 0; }
    virtual short GetBitsPerSmp() { return 0; }
	virtual float GetDuration(){ return 0; }
    virtual BOOL Extract(int iChnIndx){ return FALSE; }
protected:
    CString m_FileName;
};

#endif // !defined(AFX_AUDIOACCESS_H__DA6A6631_209F_4F9E_B90D_905618394D31__INCLUDED_)
